package com.lzy.crm.service;

import java.util.List;

import com.lzy.crm.base.service.BaseService;
import com.lzy.crm.dao.criteria.CrowdRuleCriteria;
import com.lzy.crm.domain.CrowdRule;
import com.lzy.crm.domain.PpUser;

public interface CrowdRuleService extends  BaseService<CrowdRule, CrowdRuleCriteria> {
	
	
	/**
	 *  申请加入群方法
	 * @param crowdId
	 * @param remark
	 */
	public int addRuleCrowd(int crowdId,String remark,String rule);
	
	
	/**
	 * 查询群申请信息
	 * @param gameId
	 * @return
	 */
	public List<CrowdRule> getRuleList(int crowdId);
	
	/**
	 * 查询群申请信息
	 * @param gameId
	 * @return
	 */
	public CrowdRule getRule(int ruleId);

	/**
	 * 修改申请信息
	 * @param crowdRuleId
	 * @param status
	 * @param remark
	 * @return
	 */
	public int updateCrowdRule(String crowdRuleId,String status,String remark,PpUser puser)throws Exception;
	
	
	
}
